package org.blogwu.learn.jvmlearn.class1.class46;

public class Demo1 {
    String str = "Welcome";

    private int x = 5;
    public static Integer in = 19;


    public int getX() {
        return x;
    }

    public void setX(int x) {
        synchronized (this) {
            this.x = x;
        }
    }
}
